import styles from './index.less';
import '../components/ts-基础/01-基础类型';
import { Redirect } from 'umi';

const App2 = () => {
  function test() {
    try {
      // 打开loading
    } finally {
      // 关闭loading
    }
  }
  return <div>test</div>;
};

export default function IndexPage() {
  return (
    <div>
      <Redirect to="/user" />
      {/* <h1 className={styles.title}>Page index</h1>
      <App2 /> */}
    </div>
  );
}
